package sys.spvisor.core.entity.people;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class TPeopleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TPeopleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andPeoIdIsNull() {
            addCriterion("peo_id is null");
            return (Criteria) this;
        }

        public Criteria andPeoIdIsNotNull() {
            addCriterion("peo_id is not null");
            return (Criteria) this;
        }

        public Criteria andPeoIdEqualTo(Integer value) {
            addCriterion("peo_id =", value, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdNotEqualTo(Integer value) {
            addCriterion("peo_id <>", value, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdGreaterThan(Integer value) {
            addCriterion("peo_id >", value, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("peo_id >=", value, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdLessThan(Integer value) {
            addCriterion("peo_id <", value, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdLessThanOrEqualTo(Integer value) {
            addCriterion("peo_id <=", value, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdIn(List<Integer> values) {
            addCriterion("peo_id in", values, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdNotIn(List<Integer> values) {
            addCriterion("peo_id not in", values, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdBetween(Integer value1, Integer value2) {
            addCriterion("peo_id between", value1, value2, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("peo_id not between", value1, value2, "peoId");
            return (Criteria) this;
        }

        public Criteria andPeoNameIsNull() {
            addCriterion("peo_name is null");
            return (Criteria) this;
        }

        public Criteria andPeoNameIsNotNull() {
            addCriterion("peo_name is not null");
            return (Criteria) this;
        }

        public Criteria andPeoNameEqualTo(String value) {
            addCriterion("peo_name =", value, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameNotEqualTo(String value) {
            addCriterion("peo_name <>", value, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameGreaterThan(String value) {
            addCriterion("peo_name >", value, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameGreaterThanOrEqualTo(String value) {
            addCriterion("peo_name >=", value, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameLessThan(String value) {
            addCriterion("peo_name <", value, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameLessThanOrEqualTo(String value) {
            addCriterion("peo_name <=", value, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameLike(String value) {
            addCriterion("peo_name like", value, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameNotLike(String value) {
            addCriterion("peo_name not like", value, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameIn(List<String> values) {
            addCriterion("peo_name in", values, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameNotIn(List<String> values) {
            addCriterion("peo_name not in", values, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameBetween(String value1, String value2) {
            addCriterion("peo_name between", value1, value2, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoNameNotBetween(String value1, String value2) {
            addCriterion("peo_name not between", value1, value2, "peoName");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescIsNull() {
            addCriterion("peo_station_desc is null");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescIsNotNull() {
            addCriterion("peo_station_desc is not null");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescEqualTo(String value) {
            addCriterion("peo_station_desc =", value, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescNotEqualTo(String value) {
            addCriterion("peo_station_desc <>", value, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescGreaterThan(String value) {
            addCriterion("peo_station_desc >", value, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescGreaterThanOrEqualTo(String value) {
            addCriterion("peo_station_desc >=", value, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescLessThan(String value) {
            addCriterion("peo_station_desc <", value, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescLessThanOrEqualTo(String value) {
            addCriterion("peo_station_desc <=", value, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescLike(String value) {
            addCriterion("peo_station_desc like", value, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescNotLike(String value) {
            addCriterion("peo_station_desc not like", value, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescIn(List<String> values) {
            addCriterion("peo_station_desc in", values, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescNotIn(List<String> values) {
            addCriterion("peo_station_desc not in", values, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescBetween(String value1, String value2) {
            addCriterion("peo_station_desc between", value1, value2, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoStationDescNotBetween(String value1, String value2) {
            addCriterion("peo_station_desc not between", value1, value2, "peoStationDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationIsNull() {
            addCriterion("peo_evection_location is null");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationIsNotNull() {
            addCriterion("peo_evection_location is not null");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationEqualTo(String value) {
            addCriterion("peo_evection_location =", value, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationNotEqualTo(String value) {
            addCriterion("peo_evection_location <>", value, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationGreaterThan(String value) {
            addCriterion("peo_evection_location >", value, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationGreaterThanOrEqualTo(String value) {
            addCriterion("peo_evection_location >=", value, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationLessThan(String value) {
            addCriterion("peo_evection_location <", value, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationLessThanOrEqualTo(String value) {
            addCriterion("peo_evection_location <=", value, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationLike(String value) {
            addCriterion("peo_evection_location like", value, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationNotLike(String value) {
            addCriterion("peo_evection_location not like", value, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationIn(List<String> values) {
            addCriterion("peo_evection_location in", values, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationNotIn(List<String> values) {
            addCriterion("peo_evection_location not in", values, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationBetween(String value1, String value2) {
            addCriterion("peo_evection_location between", value1, value2, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionLocationNotBetween(String value1, String value2) {
            addCriterion("peo_evection_location not between", value1, value2, "peoEvectionLocation");
            return (Criteria) this;
        }

        public Criteria andPeoContelIsNull() {
            addCriterion("peo_contel is null");
            return (Criteria) this;
        }

        public Criteria andPeoContelIsNotNull() {
            addCriterion("peo_contel is not null");
            return (Criteria) this;
        }

        public Criteria andPeoContelEqualTo(String value) {
            addCriterion("peo_contel =", value, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelNotEqualTo(String value) {
            addCriterion("peo_contel <>", value, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelGreaterThan(String value) {
            addCriterion("peo_contel >", value, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelGreaterThanOrEqualTo(String value) {
            addCriterion("peo_contel >=", value, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelLessThan(String value) {
            addCriterion("peo_contel <", value, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelLessThanOrEqualTo(String value) {
            addCriterion("peo_contel <=", value, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelLike(String value) {
            addCriterion("peo_contel like", value, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelNotLike(String value) {
            addCriterion("peo_contel not like", value, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelIn(List<String> values) {
            addCriterion("peo_contel in", values, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelNotIn(List<String> values) {
            addCriterion("peo_contel not in", values, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelBetween(String value1, String value2) {
            addCriterion("peo_contel between", value1, value2, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoContelNotBetween(String value1, String value2) {
            addCriterion("peo_contel not between", value1, value2, "peoContel");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescIsNull() {
            addCriterion("peo_evection_desc is null");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescIsNotNull() {
            addCriterion("peo_evection_desc is not null");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescEqualTo(String value) {
            addCriterion("peo_evection_desc =", value, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescNotEqualTo(String value) {
            addCriterion("peo_evection_desc <>", value, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescGreaterThan(String value) {
            addCriterion("peo_evection_desc >", value, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescGreaterThanOrEqualTo(String value) {
            addCriterion("peo_evection_desc >=", value, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescLessThan(String value) {
            addCriterion("peo_evection_desc <", value, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescLessThanOrEqualTo(String value) {
            addCriterion("peo_evection_desc <=", value, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescLike(String value) {
            addCriterion("peo_evection_desc like", value, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescNotLike(String value) {
            addCriterion("peo_evection_desc not like", value, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescIn(List<String> values) {
            addCriterion("peo_evection_desc in", values, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescNotIn(List<String> values) {
            addCriterion("peo_evection_desc not in", values, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescBetween(String value1, String value2) {
            addCriterion("peo_evection_desc between", value1, value2, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andPeoEvectionDescNotBetween(String value1, String value2) {
            addCriterion("peo_evection_desc not between", value1, value2, "peoEvectionDesc");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumIsNull() {
            addCriterion("peo_job_num is null");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumIsNotNull() {
            addCriterion("peo_job_num is not null");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumEqualTo(String value) {
            addCriterion("peo_job_num =", value, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumNotEqualTo(String value) {
            addCriterion("peo_job_num <>", value, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumGreaterThan(String value) {
            addCriterion("peo_job_num >", value, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumGreaterThanOrEqualTo(String value) {
            addCriterion("peo_job_num >=", value, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumLessThan(String value) {
            addCriterion("peo_job_num <", value, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumLessThanOrEqualTo(String value) {
            addCriterion("peo_job_num <=", value, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumLike(String value) {
            addCriterion("peo_job_num like", value, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumNotLike(String value) {
            addCriterion("peo_job_num not like", value, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumIn(List<String> values) {
            addCriterion("peo_job_num in", values, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumNotIn(List<String> values) {
            addCriterion("peo_job_num not in", values, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumBetween(String value1, String value2) {
            addCriterion("peo_job_num between", value1, value2, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoJobNumNotBetween(String value1, String value2) {
            addCriterion("peo_job_num not between", value1, value2, "peoJobNum");
            return (Criteria) this;
        }

        public Criteria andPeoNoteIsNull() {
            addCriterion("peo_note is null");
            return (Criteria) this;
        }

        public Criteria andPeoNoteIsNotNull() {
            addCriterion("peo_note is not null");
            return (Criteria) this;
        }

        public Criteria andPeoNoteEqualTo(String value) {
            addCriterion("peo_note =", value, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteNotEqualTo(String value) {
            addCriterion("peo_note <>", value, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteGreaterThan(String value) {
            addCriterion("peo_note >", value, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteGreaterThanOrEqualTo(String value) {
            addCriterion("peo_note >=", value, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteLessThan(String value) {
            addCriterion("peo_note <", value, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteLessThanOrEqualTo(String value) {
            addCriterion("peo_note <=", value, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteLike(String value) {
            addCriterion("peo_note like", value, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteNotLike(String value) {
            addCriterion("peo_note not like", value, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteIn(List<String> values) {
            addCriterion("peo_note in", values, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteNotIn(List<String> values) {
            addCriterion("peo_note not in", values, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteBetween(String value1, String value2) {
            addCriterion("peo_note between", value1, value2, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoNoteNotBetween(String value1, String value2) {
            addCriterion("peo_note not between", value1, value2, "peoNote");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeIsNull() {
            addCriterion("peo_later_work_time is null");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeIsNotNull() {
            addCriterion("peo_later_work_time is not null");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeEqualTo(Date value) {
            addCriterionForJDBCDate("peo_later_work_time =", value, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("peo_later_work_time <>", value, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("peo_later_work_time >", value, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("peo_later_work_time >=", value, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeLessThan(Date value) {
            addCriterionForJDBCDate("peo_later_work_time <", value, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("peo_later_work_time <=", value, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeIn(List<Date> values) {
            addCriterionForJDBCDate("peo_later_work_time in", values, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("peo_later_work_time not in", values, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("peo_later_work_time between", value1, value2, "peoLaterWorkTime");
            return (Criteria) this;
        }

        public Criteria andPeoLaterWorkTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("peo_later_work_time not between", value1, value2, "peoLaterWorkTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}